<!--{template user/header}-->
<div class="container">
	 <div class="text-success" id="tipsUser"></div>
<div class="nav-action">
   <!--{template user/left_side}-->
  </div>

  <div class="content-panel">
    <div class="tab">
        <a href="javascript:void(0);" class="selected">系统通知</a>
    </div>
    <div class="tab_detail">
		<div class="action-bar">
		<form action="{$strUrl}" method="post" name="searchServiceForm" id="searchServiceForm">
	        <div class="action-item">
	          <select class="form-control" name="s" >
	             {loop $searchStatus $k $v}
	            	<option value="{$k}" {if $s ==$k} selected="selected"{/if}>{$v}</option>
	            {/loop}
	          </select>
	           </div>
	        </form>
      </div>
    	<form method="post" name="listMessageForm" id="listMessageForm" action="{$strUrl}">
        <input type="hidden" name="action" value="" id="action">
		<input type="hidden" name="intPage" value="{$intPage}" >
    {if $arrMessageLists}
      <div class="table-responsive">
        <table class="table table-hover">
        <thead>
          <tr>
            <th>状态</th>
            <th>标题</th>
            <th>发件人</th>
            <th>时　间</th>
            <th>操　作</th>
          </tr>
        </thead>
        <tbody>

    		{loop $arrMessageLists $k $v}
              <tr {if $v['view_status']!=1}class="warning"{/if}>
                <td>
                  <label>
                      <input type="checkbox" value="$v['msg_id']" id="cbk_selected" name="ckb[]"> {$arrStatus[$v['view_status']]}
                    </label>
                </td>
                <td><a href="{$strUsersUrl}&op=detail&msgId=$v['msg_id']&type=notice&intPage={$intPage}">$v['title']</a></td>
                <td>系统消息</td>
                <td><!--{eval echo date('Y-m-d H:i:s',$v['on_time']);}--></td>
                <td>
                <a href="{$strUsersUrl}&op=detail&msgId=$v['msg_id']&type=notice&intPage={$intPage}">查看</a>
    			<a href="javascript:opSingle('{$strUrl}&objId=$v['msg_id']&action=delSingle&intPage={$intPage}');void(0);">删除</a></td>
              </tr>
    		  {/loop}


        </tbody>
      </table>
      </div>
      {else}
          <p class="text-center">暂无数据</p>
      {/if}

      <div class="clearfix">
      <div class="btn-toolbar pull-left" role="toolbar">
        <div class="btn-group">
          <button type="button" class="btn btn-default btn-sm" value="0" id="checkbox"><i class="fa fa-check-square-o"></i> 全选</button>

        </div>
        <div class="btn-group"><button type="button" onclick="return opMulit('mulitView','listMessageForm');" class="btn btn-default btn-sm">标记为已读</button>
          </div>
        <div class="btn-group"><button type="button" onclick="return opMulit('mulitDel','listMessageForm');" class="btn btn-default btn-sm">删除</button></div>
      </div>

      <ul class="pagination pagination-sm pull-right">
        {$strPages['page']}
      </ul>

      </div>

     </form>
    </div>
  </div>
  </div>
  <!-- 我的消息 end &content-panel end -->
  <script src="static/js/model/user/message.js"></script>
<!--{template user/footer}-->